package com.qll123.android.apt;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;

import com.qll123.android.R;
import com.qll123.annotation.Test;

@Test
public class AptActivity extends Activity implements View.OnClickListener {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        setContentView(R.layout.activity_apt);
        findViewById(R.id.button_back).setOnClickListener(this);
        findViewById(R.id.button_apt).setOnClickListener(this);
    }

    @Override
    public void onClick(View v) {
        if (v.getId()==R.id.button_back){
            finish();
        }else if (v.getId()==R.id.button_apt){
            aptMethod();
        }
    }

    private void aptMethod(){

    }
}
